const hobbyEnum = {
	1:"学习",
	2:"游戏",
	3:"下棋",
	4:"游泳",
	5:"钓鱼"
};
const hobby = "1";
console.log(hobbyEnum[hobby]);// 学习
const hobby2 = ["1","2"];// -->[学习,游戏]-->学习、游戏
console.log(hobby2.map(key=>hobbyEnum[key]).join("、"))
console.log(typeof hobby2);// object
console.log(hobby2 instanceof Array)